import request from '@/utils/request'

// 查询技术要求列表
export function listTechnologyRequire(query) {
  return request({
    url: '/vueflow/technologyRequire/list',
    method: 'get',
    params: query
  })
}

// 查询技术要求详细
export function getTechnologyRequire(id) {
  return request({
    url: '/vueflow/technologyRequire/' + id,
    method: 'get'
  })
}

// 新增技术要求
export function addTechnologyRequire(data) {
  return request({
    url: '/vueflow/technologyRequire',
    method: 'post',
    data: data
  })
}

// 修改技术要求
export function updateTechnologyRequire(data) {
  return request({
    url: '/vueflow/technologyRequire',
    method: 'put',
    data: data
  })
}

// 删除技术要求
export function delTechnologyRequire(id) {
  return request({
    url: '/vueflow/technologyRequire/' + id,
    method: 'delete'
  })
}

// 查询技术要求列表
export function listAllTechnologyRequire(query) {
  return request({
    url: '/vueflow/technologyRequire/list/all',
    method: 'get',
    params: query
  })
}